﻿using System;
using System.Collections.Generic;

namespace autoMessage.Entities;

/// <summary>
/// 部门表
/// </summary>
public partial class SysDept
{
    /// <summary>
    /// 部门id
    /// </summary>
    public long DeptId { get; set; }

    /// <summary>
    /// 父部门id
    /// </summary>
    public long? ParentId { get; set; }

    /// <summary>
    /// 祖级列表
    /// </summary>
    public string? Ancestors { get; set; }

    /// <summary>
    /// 部门名称
    /// </summary>
    public string? DeptName { get; set; }

    /// <summary>
    /// 显示顺序
    /// </summary>
    public int? OrderNum { get; set; }

    /// <summary>
    /// 负责人
    /// </summary>
    public string? Leader { get; set; }

    /// <summary>
    /// 联系电话
    /// </summary>
    public string? Phone { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    public string? Email { get; set; }

    /// <summary>
    /// 部门状态（0正常 1停用）
    /// </summary>
    public string? Status { get; set; }

    /// <summary>
    /// 删除标志（0代表存在 2代表删除）
    /// </summary>
    public string? DelFlag { get; set; }

    /// <summary>
    /// 创建者
    /// </summary>
    public string? CreateBy { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 更新者
    /// </summary>
    public string? UpdateBy { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 运行维护人员
    /// </summary>
    public string? OperatingPersonnel { get; set; }
}
